Add support for AWS LoadBalancer service annotations to UI Service#1634
Open
rla8127 wants to merge 3 commits intokagent-dev:mainfrom
Open
Add support for AWS LoadBalancer service annotations to UI Service#1634rla8127 wants to merge 3 commits intokagent-dev:mainfrom
rla8127 wants to merge 3 commits intokagent-dev:mainfrom
Conversation
feat: add service annotations support for AWS LoadBalancer Signed-off-by: Hyun <114461362+rla8127@users.noreply.github.com>
feat: add service annotations support for AWS LoadBalancer Signed-off-by: Hyun <114461362+rla8127@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds support for configuring service annotations through Helm values for the UI service, enabling users to apply cloud provider-specific configurations (such as AWS LoadBalancer annotations) to the Kubernetes Service resource.
Changes:
- Added
annotations: {}field to theui.serviceconfiguration in values.yaml to allow users to specify custom service annotations - Updated the ui-service.yaml template to conditionally render annotations when provided in the values, using the standard Helm pattern with
{{- with }}blocks
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| helm/kagent/values.yaml | Added annotations field to ui.service section with empty object as default |
| helm/kagent/templates/ui-service.yaml | Added conditional annotations block using Helm's with directive to render annotations when provided |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
EItanya
approved these changes
Apr 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before applying the Helm chart change
Service annotations for AWS LoadBalancer could not be configured through Helm values.
AWS LoadBalancer-specific settings were not applied even when custom annotations were needed.
Before change – screenshot 1
Before change – screenshot 2
After applying the Helm chart change
my custom kagent values.yaml
Added support for service.annotations in the Helm chart.
AWS LoadBalancer annotations can now be configured through Helm values.
The generated Service resource correctly includes AWS LoadBalancer annotations.
After change – screenshot 1
After change – screenshot 2